package app;

import java.util.ArrayList;
import java.util.List;

import org.junit.Test;


public class ServiceTest {
	
	@Test
	public void testGetServiceCode() {
		List<String> list = new ArrayList<String>();
		list.add("qq.com");
		list.add("qq.com");
		list.add("amazon.com");
		list.add("163.com");
		list.add("10086.com");
		list.add("baidu.com");
		
		App app = new App();
		Service service = new Service(app.getApp());
		String code = service.getServiceCode(list);
		System.out.println(code);
	}

}
